Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTranslation


GetTranslationOf

The GetTranslationOf method returns a type list to which the specified value type can be translated.

ODTypeList GetTranslationOf (in ODValueType fromType);
fromType
The type of data to be translated.
return value
A reference to a type list specifying a set of part kinds to which the specified value type can be translated, or an empty list if the translation cannot be achieved.
DISCUSSION
Your part calls this method to determine all possible results that you can obtain by translating the specified type of data. This method does not change the value of the data to be translated.

EXCEPTIONS
kODErrNoSysTranslationFacility
The underlying system translation facility is not present.
kODErrOutOfMemory
There is not enough memory to allocate the type list object.
This method may throw platform-specific exceptions.

SEE ALSO
The ODValueType type (page 904).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help